<template>
  <div>
    <com-input :value="msg" @input="val = $event" />
    <com-input v-model="msg" />
    <hr />
    <p>{{ msg }}</p>
  </div>
</template>

<script>
import ComInput from "./components/ComInput.vue";
export default {
  components: { ComInput },
  data() {
    return {
      msg: "hello",
    };
  },
};
</script>

<style></style>
